package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课时对象 admin_preid
 * 
 * @author ruoyi
 * @date 2020-06-16
 */
public class AdminPreid extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long preidId;

    /** 课时名称 */
    @Excel(name = "课时名称")
    private String preidName;

    /** 课程Id */
    private Long subjectId;

    /** 课时目标 */
    private String preidGoal;

    /** 排序表 */
    @Excel(name = "排序表")
    private String sortNo;

    /** 课件数量 */
    @Excel(name = "课件数量")
    private Integer courseNum;

    /** 所属单位 */
    private Long companyId;

    /** 所属单位 */
    private String companyName;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 帐号状态（0正常 1停用） */
    private String delFlag;

    public void setPreidId(Long preidId) 
    {
        this.preidId = preidId;
    }

    public Long getPreidId() 
    {
        return preidId;
    }
    public void setPreidName(String preidName) 
    {
        this.preidName = preidName;
    }

    public String getPreidName() 
    {
        return preidName;
    }
    public void setSubjectId(Long subjectId) 
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId() 
    {
        return subjectId;
    }
    public void setPreidGoal(String preidGoal) 
    {
        this.preidGoal = preidGoal;
    }

    public String getPreidGoal() 
    {
        return preidGoal;
    }
    public void setSortNo(String sortNo) 
    {
        this.sortNo = sortNo;
    }

    public String getSortNo() 
    {
        return sortNo;
    }
    public void setCourseNum(Integer courseNum) 
    {
        this.courseNum = courseNum;
    }

    public Integer getCourseNum() 
    {
        return courseNum;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("preidId", getPreidId())
            .append("preidName", getPreidName())
            .append("subjectId", getSubjectId())
            .append("preidGoal", getPreidGoal())
            .append("sortNo", getSortNo())
            .append("courseNum", getCourseNum())
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
